package com.xk.demo.organ.mapper;

import com.xk.demo.mybatis.entity.PtOrganEntity;
import com.xk.demo.mybatis.flexigrid.PagingBean;
import com.xk.demo.organ.entity.OrganSearchEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author qinmiao
 * @className OrganDao
 * @description TODO
 * @date 2022.05.18 21:26
 */
@Mapper
public interface OrganDao {
    List<PtOrganEntity> getOrganInfoListByPage(@Param("search") OrganSearchEntity search,@Param("paging") PagingBean paging);
    Integer queryOrganListTotal(@Param("search") OrganSearchEntity search);
    void bindOrganStructure(@Param("organUuid")String organUuid,@Param("parentUuid")String parentUuid);
    void unbindOrganStructure(@Param("organUuid")String organUuid,@Param("parentUuid")String parentUuid);
}
